<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=dsevice-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let n1 = prompt("数字1；");
        let n2 = prompt("数字2：");
        if(n1>n2){
            console.log("数字1大于数字2")
        }
        else  if(n1<n2){
            console.log("数字1小于数字2")
        }
        else{
            console.log("数字1等于数字2")
        }
    </script>
</body>
</html>